//
//  main.swift
//  Test1
//
//  Created by admin on 14-11-8.
//  Copyright (c) 2014年 disidea. All rights reserved.
//

import Foundation

//println("Hello, World!")


//定义常量和变量
let name = "Saar"
let new1:Double = 3
var age:Double = 10
var sum = new1*age
//println("\(sum)")

var count1 = 13
let count2 = 10

for i in 0...200
{
    sin(Double(count2*i))
}
//var j = 1
//for i in 1...100
//{
// println("hello +\(j)")
//}


var str = ["name":"Saar","sex":"女","数字":"77.7"]
str["dd"] = "100"
println(str)

for (k,v) in str
{
    println("\(k),\(v)")
}
var arr = [String]()
for index in 1...100{
    arr.append("H \(index)")
}
//println(arr)

for v in arr
{
//    println(v)
}

//var i = 0
//while i<arr.count{
//    println(arr[i])
//    i++
//}
